home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / qw12inst.zip / CLIPPER5.TEC < prev    next >
Text File  |  1991-11-05  |  3KB  |  117 lines

  1. ID:C5 Clipper API library & Clipper 5.0
  2. Quarterdeck Technical Note #181
  3. by Larry Rush
  4.  
  5. Re: Upgrading the API Library for Clipper to Clipper 5.0
  6. To: Clipper API developers
  7.  
  8. Quarterdeck has definite plans to upgrade the DESQview API
  9. Library for Clipper to provide full support for Clipper 5.0.
  10. Although no release date has been set, beta testing should
  11. begin early in November after the Fall Comdex.
  12.  
  13. Nevertheless, the current API LIbrary version 1.01 (designed to
  14. support Clipper Summer '87) can be easily modified to support
  15. Clipper 5.0.  All you need to do is modify the DVAPI.LIB library
  16. file.  Perform the following general steps:
  17.  
  18.   Install the Clipper UDFs onto your hard disk.
  19.   Recompile all the Clipper UDFs with Clipper 5.0 to create
  20.     new OBJ files.
  21.   Create a response file for the LIB.EXE library manager.
  22.   Use LIB.EXE to remove EXTOR.OBJ from DVAPI.LIB and replace
  23.     the old UDFs within DVAPI.LIB with the new 5.0 OBJs.
  24.  
  25. Note that the "C" and Assembler UDFs within DVAPI.LIB require no
  26. changes.
  27.  
  28. Take the following steps to convert the DVAPI.LIB library file to
  29. work with Clipper 5.0:
  30.  
  31. 1. If not already done, install the library's Clipper source files 
  32.    (*.PRG) from the "Clipper Source" disk:
  33.  
  34.    Create a C:\DVAPI\PRG subdirectory under C:\DVAPI.
  35.    Log onto that subdirectory.
  36.    Insert the "Clipper Source" disk into drive A:.
  37.    Execute the self-extracting PRG.EXE PKUNZIP file:
  38.  
  39.      a:prg.exe
  40.  
  41. This will unzip all the PRG files into C:\DVAPI\PRG.
  42.  
  43. 2. Recompile all the PRG files with Clipper 5.0.  Create and run  
  44.    the following batch file MKOBJS.BAT containing:
  45.  
  46.    for %%f in (p_*.prg) do clipper %%f -m
  47.  
  48. This will create a P_*.OBJ file for each P_*.PRG file.
  49.  
  50. 3. Log onto C:\DVAPI where DVAPI.LIB should reside and create a   
  51.    DVAPIPRG.RSP response file for Microsoft's LIB.EXE containing:
  52.  
  53.    DVAPI
  54.    -c\EXTOR&
  55.    -+prg\P_APPRUN&
  56.    -+prg\P_FLDATG&
  57.    -+prg\P_FLDATP&
  58.    -+prg\P_FLDATS&
  59.    -+prg\P_KEYACC&
  60.    -+prg\P_KEYCLE&
  61.    -+prg\P_KEYINK&
  62.    -+prg\P_KEYINP&
  63.    -+prg\P_KEYKEY&
  64.    -+prg\P_KEYLAS&
  65.    -+prg\P_KEYNEX&
  66.    -+prg\P_KEYREA&
  67.    -+prg\P_KEYSET&
  68.    -+prg\P_KEYWAI&
  69.    -+prg\P_QRYFTA&
  70.    -+prg\P_WINACH&
  71.    -+prg\P_WINATB&
  72.    -+prg\P_WINATC&
  73.    -+prg\P_WINATG&
  74.    -+prg\P_WINATP&
  75.    -+prg\P_WINATS&
  76.    -+prg\P_WINATT&
  77.    -+prg\P_WINBRO&
  78.    -+prg\P_WINCCO&
  79.    -+prg\P_WINCLE&
  80.    -+prg\P_WINCLG&
  81.    -+prg\P_WINCSC&
  82.    -+prg\P_WINDAT&
  83.    -+prg\P_WINDBE&
  84.    -+prg\P_WINMAR&
  85.    -+prg\P_WINMEN&
  86.    -+prg\P_WINREA&
  87.    -+prg\P_WINRES&
  88.    -+prg\P_WINSAV&
  89.    -+prg\P_WINSET
  90.    NUL
  91.    DVAPI
  92.  
  93. 4. Remove EXTOR.OBJ from DVAPI.LIB (with Clipper 5.0 it has been  
  94.    added to CLIPPER.LIB) and replace the old Summer '87 P_*.OBJ   
  95.    files within DVAPI.LIB with the new 5.0 P_*.OBJ files:
  96.  
  97.    Execute LIB.EXE with the DVAPIPRG.RSP response file:
  98.  
  99.      lib @dvapiprg.rsp
  100.  
  101. This creates a new DVAPI.LIB file which supports 5.0. You may now
  102. recompile your source programs with Clipper 5.0 and relink with
  103. RTLink for Clipper 5.0.
  104.  
  105. Beware!  The initial release of Clipper 5.0 has some major bugs due
  106. mostly to its VMM.  So, don't call Quarterdeck if you have problems
  107. executing Clipper 5.0 programs linked with your new DVAPI.LIB.
  108.  
  109. For further information, contact:
  110.  
  111.   Larry Rush (QOS)
  112.   (310) 392-9851 Phone
  113.   (310) 399-3802 Fax
  114.  
  115.         Copyright (C) 1991 by Quarterdeck Office Systems
  116.              * * *   E N D   O F   F I L E    * * * 
  117.